[INFO] cloning repository https://github.com/Gustorn/tsp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gustorn/tsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGustorn%2Ftsp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGustorn%2Ftsp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 096a391667eb5b12d3abbfdff5fe277a657f9a87
[INFO] testing Gustorn/tsp against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGustorn%2Ftsp" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Gustorn/tsp on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Gustorn/tsp
[INFO] finished tweaking git repo https://github.com/Gustorn/tsp
[INFO] tweaked toml for git repo https://github.com/Gustorn/tsp written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Gustorn/tsp already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/japaric/approx.rs`
[INFO] [stderr]     Updating git repository `https://github.com/japaric/float.rs`
[INFO] [stderr]     Updating git repository `https://github.com/japaric/cast.rs`
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/japaric/approx.rs`
[INFO] [stderr]     Updating git repository `https://github.com/japaric/float.rs`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded linear-map v1.2.0
[INFO] [stderr]   Downloaded timeit v0.1.2
[INFO] [stderr]   Downloaded cast v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a32f7e884f80eb1edf539def8dedb742d170de04e9a942c5d6c5c82a039a12f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6a32f7e884f80eb1edf539def8dedb742d170de04e9a942c5d6c5c82a039a12f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a32f7e884f80eb1edf539def8dedb742d170de04e9a942c5d6c5c82a039a12f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a32f7e884f80eb1edf539def8dedb742d170de04e9a942c5d6c5c82a039a12f", kill_on_drop: false }`
[INFO] [stdout] 6a32f7e884f80eb1edf539def8dedb742d170de04e9a942c5d6c5c82a039a12f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 33c982b6394bcce71c723a1c4a005d80539ffe7203681b0337acaca6fa46f567
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "33c982b6394bcce71c723a1c4a005d80539ffe7203681b0337acaca6fa46f567", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling cast v0.1.0
[INFO] [stderr]    Compiling linear-map v1.2.0
[INFO] [stderr]    Compiling itertools v0.10.0
[INFO] [stderr]    Compiling floaty v0.1.0 (https://github.com/japaric/float.rs#83c05c3f)
[INFO] [stderr]    Compiling approx v0.0.0 (https://github.com/japaric/approx.rs#b2024ba2)
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling timeit v0.1.2
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling genetic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rand::distributions::IndependentSample`
[INFO] [stdout]  --> src/problem.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::distributions::IndependentSample;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `IndependentSample` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::distributions::range`
[INFO] [stdout]  --> src/problem.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::distributions::range::{Range, SampleRange};
[INFO] [stdout]   |                          ^^^^^ could not find `range` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]  --> src/utility/macros.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / macro_rules! assert_approx_eq {
[INFO] [stdout] 2 | |     ($lhs:expr, $rhs:expr, $tol: expr) => {{
[INFO] [stdout] 3 | |         assert!(::approx::eq(&$lhs, &$rhs, ::approx::Abs::tol($tol)));
[INFO] [stdout] 4 | |     }};
[INFO] [stdout] 5 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/generation.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]   --> src/crossover/macros.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | / macro_rules! test_crossover {
[INFO] [stdout] 9  | |     ($Name: ident, $Type: ty, $crossover: expr,
[INFO] [stdout] 10 | |      $(parent($($parent: expr),+)),+
[INFO] [stdout] 11 | |      $(,child($($child: expr),*))*) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     };
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]   --> src/crossover/macros.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | / macro_rules! test_crossover_panic {
[INFO] [stdout] 27 | |     ($Name: ident, $Type: ty, $crossover: expr,
[INFO] [stdout] 28 | |      $(parent($($parent: expr),+)),+
[INFO] [stdout] 29 | |      $(,child($($child: expr),*))*) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |     };
[INFO] [stdout] 46 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]   --> src/crossover/macros.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / macro_rules! bench_crossover {
[INFO] [stdout] 49 | |     ($Name: ident, $Type: ty, $crossover: expr,
[INFO] [stdout] 50 | |      $(parent($($parent: expr),+)),+) => {
[INFO] [stdout] 51 | |         #[bench]
[INFO] [stdout] ...  |
[INFO] [stdout] 65 | |     };
[INFO] [stdout] 66 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/crossover/half_uniform.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{self, Rng};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/mutation/shuffle.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{self, Rng};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/problem.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `itertools::RepeatCall`: Use std repeat_with() instead
[INFO] [stdout]    --> src/utility/macros.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |         ::itertools::RepeatCall::new(move || $rng.gen_range($from, $to))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/mutation/thrors.rs:21:13
[INFO] [stdout]     |
[INFO] [stdout] 21  |             unique_samples!(0, length).take(3).triples()
[INFO] [stdout]     |             -------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `itertools::RepeatCall`: Use std repeat_with() instead
[INFO] [stdout]  --> src/problem.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use itertools::RepeatCall;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `itertools::RepeatCall`: Use std repeat_with() instead
[INFO] [stdout]   --> src/problem.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let chromosomes = RepeatCall::new(|| {
[INFO] [stdout]    |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `itertools::RepeatCall`: Use std repeat_with() instead
[INFO] [stdout]   --> src/problem.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             RepeatCall::new(|| self.range.ind_sample(&mut rng)).take(self.length).collect()
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `itertools::RepeatCall`: Use std repeat_with() instead
[INFO] [stdout]   --> src/problem.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let chromosomes = RepeatCall::new(|| {
[INFO] [stdout]    |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `genetic`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "33c982b6394bcce71c723a1c4a005d80539ffe7203681b0337acaca6fa46f567", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33c982b6394bcce71c723a1c4a005d80539ffe7203681b0337acaca6fa46f567", kill_on_drop: false }`
[INFO] [stdout] 33c982b6394bcce71c723a1c4a005d80539ffe7203681b0337acaca6fa46f567
